const Mock = require('mockjs')

module.exports = [
	{
		url: '/province/roleManage/allRoles',
		type: 'get',
		response: config => {
			return {
				code: 200,
				data: [{
					roleId: 1,
					roleName: '省',
					roleDescription: '省级用户',
					roleAuthority: 4095
				},
				{
					roleId: 2,
					roleName: '市',
					roleDescription: '市级用户',
					roleAuthority: 4095
				},
				{
					roleId: 3,
					roleName: '企业',
					roleDescription: '企业级用户',
					roleAuthority: 4095
				},
				{
					roleId: 4,
					roleName: '新角色',
					roleDescription: '省用户创建的新角色',
					roleAuthority: 4095
				}]
			}
		}
	}
]
